package com.credithc.signature.common.vo.manager;

import lombok.Data;
import org.apache.commons.lang.StringUtils;

@Data
public class SealChannelVo {

    private  Integer id;

    private  String tenant;

    private String channelName;

    private String channelId;

    private String sealPerson;

    private String sealCode;

    private String sealName;

    private String status;

    private String encryptKey;

    private String sealPwd;

    private String createTime;

    private String sealOrg;

    private String ext1;

    public void setStatus(String status) {
        if (StringUtils.isNotBlank(status)){
            if("1".equals(status)){
                this.status = "启用";
            }else{
                this.status = "停用";
            }
        }
    }

}
